package dbexp.model;

import dbexp.model.db.DbOT;

public class Role extends DbObject {

	/**
	 *
	 */
	private static final long serialVersionUID = 1L;
	public static final String LABEL = "role";
	public static final String DEF_ICON = "db-role-icon";

	public Role() {
		super(LABEL, DbOT.ROLES);
		setIcons(DEF_ICON);
	}

	public Role(String roleName) {
		super(roleName, DbOT.ROLE);
		setIcons(DEF_ICON);
		set("leaf", true);
	}

	public String getQuery(int operation) {
		return oneFromDual();
	}
}
